﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TTMarketing
{
    public partial class so_sanhsp : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                List<int> list = null;
                
                int id = Convert.ToInt32(Request.QueryString["ID"]);
                if (Session["ListID"] != null)
                {
                    list = (List<int>)Session["ListID"];
                    list.Add(id);
                    Session["ListID"] = list;
                }
                else
                {
                    list = new List<int>();
                    list.Add(id);
                    Session["ListID"] = list;
                }
                
            }
        }
    }
}